package com.tsingteng.cosfun.bean;

import java.util.List;

/**
 * 聊天通知实体类
 * */
public class ChatBean {

        /**
         * endRow : 10
         * firstPage : 1
         * hasNextPage : true
         * hasPreviousPage : false
         * isFirstPage : true
         * isLastPage : false
         * lastPage : 2
         * list : [{"content":"http://zhuangdan.oss-cn-beijing.aliyuncs.com/video/template/cover/cover_1524538210682.jpg","createTime":1534157749000,"id":23,"relatedId":4,"relatedType":"VIDEO","source":{"id":2,"image":"http://danhua-resources.oss-us-west-1.aliyuncs.com/resources/app/images/products/ftu2grhyvi..png","nickName":"八玲珑","profileStatus":1},"state":0,"target":{"id":11},"type":"FAVOR","updateTime":1534158006000},{"content":"无论任何一款游戏或者产品,到最终的玩家即使有情怀 但也会由于用户的流失,而失去所有的用户","createTime":1534157749000,"id":24,"relatedId":23,"relatedType":"PARAGRAPH","source":{"id":3,"image":"","nickName":"狱典生","profileStatus":1},"state":0,"target":{"id":11},"type":"FAVOR","updateTime":1534158006000},{"content":"无论任何一款游戏或者产品,到最终的玩家即使有情怀 但也会由于用户的流失,而失去所有的用户","createTime":1534157749000,"id":25,"relatedId":23,"relatedType":"PARAGRAPH","source":{"id":4,"image":"","nickName":"故事线","profileStatus":1},"state":0,"target":{"id":11},"type":"FAVOR","updateTime":1534158008000},{"content":"http://zhuangdan.oss-cn-beijing.aliyuncs.com/video/template/cover/cover_1524538210682.jpg","createTime":1534157748000,"id":22,"relatedId":4,"relatedType":"VIDEO","source":{"id":1,"image":"http://danhua-resources.oss-us-west-1.aliyuncs.com/resources/app/images/products/ftu2grhyvi..png","nickName":"齐衡三","profileStatus":1},"state":0,"target":{"id":11},"type":"FAVOR","updateTime":1534158005000},{"content":"无论任何一款游戏或者产品,到最终的玩家即使有情怀 但也会由于用户的流失,而失去所有的用户","createTime":1534157730000,"id":20,"relatedId":23,"relatedType":"PARAGRAPH","source":{"id":3,"image":"","nickName":"狱典生","profileStatus":1},"state":0,"target":{"id":11},"type":"REVIEW","updateTime":1534158005000},{"content":"无论任何一款游戏或者产品,到最终的玩家即使有情怀 但也会由于用户的流失,而失去所有的用户","createTime":1534157730000,"id":21,"relatedId":23,"relatedType":"PARAGRAPH","source":{"id":4,"image":"","nickName":"故事线","profileStatus":1},"state":0,"target":{"id":11},"type":"REVIEW","updateTime":1534158005000},{"content":"http://zhuangdan.oss-cn-beijing.aliyuncs.com/video/template/cover/cover_1524538210682.jpg","createTime":1534157729000,"id":19,"relatedId":4,"relatedType":"VIDEO","source":{"id":2,"image":"http://danhua-resources.oss-us-west-1.aliyuncs.com/resources/app/images/products/ftu2grhyvi..png","nickName":"八玲珑","profileStatus":1},"state":0,"target":{"id":11},"type":"REVIEW","updateTime":1534158005000},{"content":"http://zhuangdan.oss-cn-beijing.aliyuncs.com/video/template/cover/cover_1524538210682.jpg","createTime":1534157728000,"id":18,"relatedId":4,"relatedType":"VIDEO","source":{"id":1,"image":"http://danhua-resources.oss-us-west-1.aliyuncs.com/resources/app/images/products/ftu2grhyvi..png","nickName":"齐衡三","profileStatus":1},"state":0,"target":{"id":11},"type":"REVIEW","updateTime":1534158004000},{"content":"无论任何一款游戏或者产品,到最终的玩家即使有情怀 但也会由于用户的流失,而失去所有的用户","createTime":1534157690000,"id":17,"relatedId":23,"relatedType":"PARAGRAPH","source":{"id":4,"image":"","nickName":"故事线","profileStatus":1},"target":{"id":11},"type":"POINT","updateTime":1534158004000},{"content":"无论任何一款游戏或者产品,到最终的玩家即使有情怀 但也会由于用户的流失,而失去所有的用户","createTime":1534157688000,"id":16,"relatedId":23,"relatedType":"PARAGRAPH","source":{"id":3,"image":"","nickName":"狱典生","profileStatus":1},"target":{"id":11},"type":"POINT","updateTime":1534158004000}]
         * navigateFirstPage : 1
         * navigateLastPage : 2
         * navigatePages : 8
         * navigatepageNums : [1,2]
         * nextPage : 2
         * pageNum : 1
         * pageSize : 10
         * pages : 2
         * prePage : 0
         * size : 10
         * startRow : 1
         * total : 19
         */

        private int endRow;
        private int firstPage;
        private boolean hasNextPage;
        private boolean hasPreviousPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private int lastPage;
        private int navigateFirstPage;
        private int navigateLastPage;
        private int navigatePages;
        private int nextPage;
        private int pageNum;
        private int pageSize;
        private int pages;
        private int prePage;
        private int size;
        private int startRow;
        private int total;
        private List<ListBean> list;
        private List<Integer> navigatepageNums;

    public ChatBean(int endRow, int firstPage, boolean hasNextPage, boolean hasPreviousPage, boolean isFirstPage, boolean isLastPage, int lastPage, int navigateFirstPage, int navigateLastPage, int navigatePages, int nextPage, int pageNum, int pageSize, int pages, int prePage, int size, int startRow, int total, List<ListBean> list, List<Integer> navigatepageNums) {
        this.endRow = endRow;
        this.firstPage = firstPage;
        this.hasNextPage = hasNextPage;
        this.hasPreviousPage = hasPreviousPage;
        this.isFirstPage = isFirstPage;
        this.isLastPage = isLastPage;
        this.lastPage = lastPage;
        this.navigateFirstPage = navigateFirstPage;
        this.navigateLastPage = navigateLastPage;
        this.navigatePages = navigatePages;
        this.nextPage = nextPage;
        this.pageNum = pageNum;
        this.pageSize = pageSize;
        this.pages = pages;
        this.prePage = prePage;
        this.size = size;
        this.startRow = startRow;
        this.total = total;
        this.list = list;
        this.navigatepageNums = navigatepageNums;
    }

    public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public int getNavigateFirstPage() {
            return navigateFirstPage;
        }

        public void setNavigateFirstPage(int navigateFirstPage) {
            this.navigateFirstPage = navigateFirstPage;
        }

        public int getNavigateLastPage() {
            return navigateLastPage;
        }

        public void setNavigateLastPage(int navigateLastPage) {
            this.navigateLastPage = navigateLastPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public List<Integer> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<Integer> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean {
            /**
             * content : http://zhuangdan.oss-cn-beijing.aliyuncs.com/video/template/cover/cover_1524538210682.jpg
             * createTime : 1534157749000
             * id : 23
             * relatedId : 4
             * relatedType : VIDEO
             * source : {"id":2,"image":"http://danhua-resources.oss-us-west-1.aliyuncs.com/resources/app/images/products/ftu2grhyvi..png","nickName":"八玲珑","profileStatus":1}
             * state : 0
             * target : {"id":11}
             * type : FAVOR
             * updateTime : 1534158006000
             */

            private String content;
            private long createTime;
            private int id;
            private int relatedId;
            private String relatedType;
            private SourceBean source;
            private int state;
            private TargetBean target;
            private String type;
            private long updateTime;

            public ListBean(String content, long createTime, int id, int relatedId, String relatedType, SourceBean source, int state, TargetBean target, String type, long updateTime) {
                this.content = content;
                this.createTime = createTime;
                this.id = id;
                this.relatedId = relatedId;
                this.relatedType = relatedType;
                this.source = source;
                this.state = state;
                this.target = target;
                this.type = type;
                this.updateTime = updateTime;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getRelatedId() {
                return relatedId;
            }

            public void setRelatedId(int relatedId) {
                this.relatedId = relatedId;
            }

            public String getRelatedType() {
                return relatedType;
            }

            public void setRelatedType(String relatedType) {
                this.relatedType = relatedType;
            }

            public SourceBean getSource() {
                return source;
            }

            public void setSource(SourceBean source) {
                this.source = source;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public TargetBean getTarget() {
                return target;
            }

            public void setTarget(TargetBean target) {
                this.target = target;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public static class SourceBean {
                /**
                 * id : 2
                 * image : http://danhua-resources.oss-us-west-1.aliyuncs.com/resources/app/images/products/ftu2grhyvi..png
                 * nickName : 八玲珑
                 * profileStatus : 1
                 */

                private int id;
                private String image;
                private String nickName;
                private int profileStatus;

                public SourceBean(int id, String image, String nickName, int profileStatus) {
                    this.id = id;
                    this.image = image;
                    this.nickName = nickName;
                    this.profileStatus = profileStatus;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getImage() {
                    return image;
                }

                public void setImage(String image) {
                    this.image = image;
                }

                public String getNickName() {
                    return nickName;
                }

                public void setNickName(String nickName) {
                    this.nickName = nickName;
                }

                public int getProfileStatus() {
                    return profileStatus;
                }

                public void setProfileStatus(int profileStatus) {
                    this.profileStatus = profileStatus;
                }
            }

            public static class TargetBean {
                /**
                 * id : 11
                 */

                private int id;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public TargetBean(int id) {
                    this.id = id;
                }
            }
    }
}
